<template>
  <div class="page-head">
    <div class="page-head__left">
      <slot name="left"></slot>
    </div>
    <div class="page-head-title">{{title}}</div>
    <div class="page-head__right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
  export default {
    name: "",
    props: {
      title: {
        type: String,
        default: ""
      }
    }
  };
</script>

<style lang="scss" scope>
  .page-head {
    width: 100%;
    background-color: red;
    .page-head-title {
      font-size: 20px;
      font-weight: bold;
      color: #17233d;
    }
  }
</style>
